package com.itheima.web.controller;

import com.itheima.domain.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Demo1 {
    @RequestMapping("/param1")
    public String param1 (User user) {
        System.out.println("你访问到了方法");
        System.out.println(user);
        return "success.jsp";
    }
}
